<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>

<%@page import="com.carsite.model.*" %>
<%@page import="java.util.List" %>

<%  
	List modules=(List)session.getAttribute("modules");
	int len=modules.size();
	String[] ids=new String[len];
	String[] names=new String[len];
	for(int i=0;i<len;i++){
	ModuleMenu mm=(ModuleMenu)modules.get(i);
	ids[i]=mm.getMenuId()+"";
	names[i]=mm.getMenuName();
	}
 %>
<head>

<!-- TemplateBeginEditable name="doctitle" -->
<title>内部网</title>
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>

<link href="css/text.css" rel="stylesheet" type="text/css" />
<SCRIPT language=JavaScript src="js/realflash.js" type=text/javascript></script>
 <script type="text/javascript" src="<c:url value='/scripts/global.js'/>"></script>
</head>

<body>
<table width="905" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    
    <td width="905" align="right" valign="top" background="image/index_03.jpg"><table width="95%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="68%" height="38">&nbsp;</td>
        <td width="32%">&nbsp;</td>
      </tr>
      <tr>
          <td align="left"><a href="index.html" class="text1">首　页</a>
      <%
      for(int i=len-1;i>=0;i--){
      %>
      <a href="/carsite/moduleMenus.html?method=moduleList&id=<%=ids[i]%>" class="text1"><%=names[i] %> </a>
      
      <% }
       %>
       </td>
         
              
        <td align="right">
        <c:if test="${not empty currentCustomer }">
		            <a href="web_mem_center.html" class="text1">我的资料</a>
              </c:if>
        <a href="http://server/dongda/index.htm">外网入口</a> | 
              <c:if test="${not empty currentCustomer }">
		            <span class="text2">
		               欢迎<c:out value="${currentCustomer.realName}"/>！
		            </span>　
              </c:if>	  
          
               <c:if test="${empty currentCustomer }">
		           <a href="web_login_page.html">登录</a> 
              </c:if>
               <c:if test="${not empty currentCustomer }">
		           <a href="customerLogin.html?method=logout">退出</a> 
              </c:if>
           
          </td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="905" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="165" background="image/banner.JPG">
    
    </td>
  </tr>
</table>